Skip to content

ci: add frontmatter title style lint check#2971

Merged
bartlomieju merged 3 commits intomainfrom
title_lint
Mar 12, 2026
Merged

ci: add frontmatter title style lint check#2971
bartlomieju merged 3 commits intomainfrom
title_lint

Conversation

@bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Mar 12, 2026

Summary

  • Adds a Deno test (frontmatter_test.ts) that enforces frontmatter title style rules, run automatically via deno task test in CI
  • All pages: titles must not contain backticks — use plain text instead
  • CLI command pages (runtime/reference/cli/): title must be exactly deno {command} — no commas or descriptions (those belong in the description field)
  • Fixes existing violations:
    • runtime/reference/cli/audit.md: "deno audit, audit dependencies for vulnerabilities""deno audit"
    • runtime/reference/cli/bundle.md: "Bundler""deno bundle"
    • examples/sandbox/spawn_subprocess.md: removed unnecessary comma from title

Follows up on #2964 to enforce the unified title style going forward.

bartlomieju and others added 3 commits March 12, 2026 18:52
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bartlomieju bartlomieju enabled auto-merge (squash) March 12, 2026 18:08
@bartlomieju bartlomieju merged commit 293cb4e into main Mar 12, 2026
2 checks passed
@thisisjofrank thisisjofrank deleted the title_lint branch March 12, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants